// preload.js
const { contextBridge, ipcRenderer } = require("electron");

contextBridge.exposeInMainWorld("electronAPI", {
  NODE: 1111,
  sendValue: async () => {
    const res = await ipcRenderer.invoke("create-file");
    // console.log(res);
    return res;
  },
});
